<?php

namespace app\app\model\order;

use think\Model;
use traits\model\SoftDelete;

class GoodsOrderChildModel extends Model
{
    use SoftDelete;

    // 表名
    protected $name = 'goods_order_child';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'integer';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected $deleteTime = 'deletetime';


    public function getGoodsImageAttr($value)
    {
        return Https($value);
    }
}